package com.eascs.web.o2o.quartz.task;



import org.springframework.stereotype.Component;

import com.eascs.app.log.Logger;
import com.eascs.app.log.LoggerFactory;
import com.eascs.web.o2o.quartz.util.BaseJobUtil;
import com.eascs.web.o2o.quartz.util.ExecutorService;

@Component("task1")
public class Task1 extends BaseJobUtil{

	protected final Logger logger = LoggerFactory.getLogger(getClass());
	
	//定时任务方法
	public void run(){
		executor("task1","run","123",new ExecutorService(){
			@Override
			public void exe() {
				int i=1;
				System.out.println("任务在跑。。。。。。。。。");
			}
			
		});
	}
	
	
	
}
